<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta property="qc:admins" content="65152333317512012166075456000637573070" />
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>首页</title>
	<link rel="stylesheet" type="text/less" href="__TEMPLATE__/style/main.less" />
	<link rel="stylesheet" href="__TEMPLATE__/style/bootstrap.min.css" />
	<link rel="stylesheet" href="__TEMPLATE__/style/font-awesome.min.css">
	<script type="text/javascript" src="__TEMPLATE__/js/less-1.7.5.min.js"></script>
	<script type="text/javascript" src="__TEMPLATE__/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="__TEMPLATE__/js/main.js"></script>
	<jsconst/>
	<hdvalidate/>	
</head>
<body>
<!-- 头部开始 -->
<include file="__TEMPLATE__/head.html"/>
<!-- 头部结束 -->
<!-- 轮展图开始 -->
<div id="banner">
	<div class="right">
		<div class="up">
			<ul class="lunbo">
				<li><a href=""><img src="__TEMPLATE__/images/baner-1.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/baner-2.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/baner-3.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/baner-4.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/baner-5.jpg" alt="" /></a></li>
			</ul>
			<div class="turn_l"></div>
			<div class="turn_r"></div>
		</div>
		<div class="down">
			<ul>
				<li><a href=""><img src="__TEMPLATE__/images/down-1.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/down-2.jpg" alt="" /></a></li>
				<li><a href=""><img src="__TEMPLATE__/images/down-3.jpg" alt="" /></a></li>
			</ul>
		</div>
	</div>
</div>
<!-- 轮展图结束 -->
<!-- 明星产品开始 -->
<div id="star_good">
	<div class="title">
		<h3>小米明星单品
		<a href="">根据机型选配件</a></h3>
	</div>
	<div class="star_list">
		<ul>
			<foreach from="$newGoods" key='$key' value="$v">
				<if value='$key<8'>
					<li>
						<div class="star_one">
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="220" height="220" /></a></span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="star_title">{$v.gname}</a></span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="star_content">全铝合金金属外壳，LG/三星等优质电芯</a></span>
						</div>
					</li>
				</if>
			</foreach>
		</ul>
	</div>
</div>
<!-- 明星产品结束 -->
<!-- 新品上架开始 -->
<div id="news">
	<div class="title">
		<h3>新品上架</h3>
	</div>
	<div class="news_list">
		<div class="news_left">
			<ul>
				<foreach from="$newGoods" key='$key' value="$v">
					<li>
						<div class="news_one">
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="news_title">{$v.gname}</a></span>
							<span class="news_price">{$v.shopprice}元</span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="220x" height="220" /></a></span>
						</div>
					</li>
				</foreach>
			</ul>
		</div>
		<div class="news_right">
			<span>特价商品</span>
			<ul>
				<foreach from="$newGoods" key='$key' value="$v">
					<if value='$key<6'>
						<li>
							<div class="price_left">
								<h3>{$v.gname}</h3>
								<p class="price">{$v.shopprice}元</p>
								<p>还有更多特价产品</p>
							</div>
							<div class="price_right">
								<a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="100" height="100" /></a>
							</div>
						</li>
					</if>
				</foreach>
			</ul>
		</div>
	</div>	
</div>
<!-- 新品上架结束 -->
<!-- 热评产品开始 -->
<div id="hot">
	<div class="title">
		<h3>新品上架</h3>
	</div>
	<div class="hot_goods">
		<ul>
			<foreach from="$newGoods" key='$key' value="$v">
				<if value='$key<4'>
					<li>
						<div class="hot_one">
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="hot_title">{$v.gname}</a></span>
							<span class="hot_price">{$v.shopprice}元</span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="220" height="220" /></a></span>
						</div>
					</li>
				</if>
			</foreach>
		</ul>
	</div>
</div>
<!-- 热评产品结束 -->
<!-- 热评产品开始 -->
<div id="hot">
	<div class="title">
		<h3>特价产品</h3>
	</div>
	<div class="hot_goods">
		<ul>
			<foreach from="$newGoods" key='$key' value="$v">
				<if value='$key<4'>
					<li>
						<div class="hot_one">
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="hot_title">{$v.gname}</a></span>
							<span class="hot_price">{$v.shopprice}元</span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="220" height="220" /></a></span>
						</div>
					</li>
				</if>
			</foreach>
		</ul>
	</div>
</div>
<!-- 热评产品结束 -->
<!-- 热评产品开始 -->
<div id="hot">
	<div class="title">
		<h3>MIUI 主题</h3>
	</div>
	<div class="hot_goods">
		<ul>
			<foreach from="$newGoods" key='$key' value="$v">
				<if value='$key<4'>
					<li>
						<div class="hot_one">
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}" class="hot_title">{$v.gname}</a></span>
							<span class="hot_price">{$v.shopprice}元</span>
							<span><a href="{|U:'Goods/index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="220" height="220" /></a></span>
						</div>
					</li>
				</if>
			</foreach>
		</ul>
	</div>
</div>
<!-- 热评产品结束 -->
<!-- // 服务样式开始 -->
<include file="__TEMPLATE__/footer.html"/>
<!-- // 服务样式结束 -->
</body>
</html>